package edu.cuc.akkaDay01.demo02;

import akka.actor.Actor;
import akka.actor.ActorRef;
import akka.actor.ActorSystem;
import akka.actor.Props;

/**
 * Created by bingruiqi on 2017/9/10.
 */
public class Test2 {
    public static void main(String[] args) {
        ActorSystem system = ActorSystem.create("hello");
        ActorRef hello = system.actorOf(Props.create(HelloWorld.class), "HelloWorld");
        System.out.println("Hellow World path"+hello.path());

    }
}
